package com.hqx.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqx.common.utils.PageUtils;
import com.hqx.gulimall.product.entity.AttrEntity;
import com.hqx.gulimall.product.vo.AttrRespVo;
import com.hqx.gulimall.product.vo.AttrVo;

import java.util.Map;

/**
 * 
 *
 * @author hqx
 * @email 2322305634@qq.com
 * @date 2024-03-14 10:44:01
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params, int attrType);

    PageUtils queryPage(Map<String, Object> params, int attrType, Long catId);

    void saveAttr(AttrVo attrVo);

    AttrRespVo getAttrInfo(Long attrId);

    void updateAttr(AttrVo attr);
}

